package cn.tedu.serrch.repository;

import cn.tedu.serrch.entity.Students;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface IStudentsRepository extends ElasticsearchRepository<Students,Long> {

    Page<Students> queryStudentsByAddressMatchesOrAddressMatches(String address, String address1, Pageable pageable);

}
